package com.gqz.equip.controller;

import com.gqz.common.core.domain.R;
import com.gqz.equip.api.TEnWzSblxApi;
import com.gqz.equip.service.ITEnWzSblxService;
import com.gqz.equip.vo.TEnWzSblxVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * 新能源-物资-设备类型树 Controller
 *
 * @Version 1.0
 * @Author input you name
 */
@RestController
public class TEnWzSblxController implements TEnWzSblxApi {

    @Autowired
    private ITEnWzSblxService service;

    @Override
    public R<List<TEnWzSblxVo>> getList(TEnWzSblxVo iEnWzSblxVo) {
        return R.ok(service.getList(iEnWzSblxVo));
    }
}
